package cn.com.dcsgo.library.admin.domain.dto;

import cn.com.dcsgo.library.admin.enums.Role;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户登录DTO
 *
 * @author Dcsgo
 * @since 2024/9/3 08:18
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserDTO {
    @ApiModelProperty("用户名(账号)")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("用户角色")
    private Role role;
}
